package IOStream.CharSet;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

/**
 * ClassName:CharSet003
 * Package:IOStream.CharSet
 * Description:
 *
 * @Author:ZhangXin
 * @Create2023/2/28-22:42
 * @Version:v1.0
 */
public class CharSet003 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("E:\\aaa\\c.txt");
        FileOutputStream fos =new FileOutputStream("E:\\aaa\\bbb\\c.txt");
        int b;
        while ((b=fis.read())!=-1){
            fos.write(b);
        }
        fos.close();
        fis.close();

    }
}
